home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1993 December
/
PSL Monthly Shareware CD-ROM (December 1993).iso
/
prgmming
/
dos
/
c
/
mouse_c.com
/
M_SPEED.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1990-07-11
|
317 b
|
21 lines
/*
* m_speed.c
*
* Public Domain (p) March 1990 By Rodney Loos
* Syntax modified by S. Sampson
*/
#include "mouse.h"
/*
* Set the threshold speed for doubling the cursor's
* movements
*/
void m_speed(int x)
{
__Mpar->m1 = 19;
__Mpar->m4 = x; /* speed threshold */
mouse(__Mpar);
}